package financier.jfz.com.babycare;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import financier.jfz.com.babycare.base.BaseActivity;

public class MainActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        getToolbar().setMainTitle("珊珊宝贝");
        getToolbar().disMissBackBtn();
    }

    public void clickEvent(View view) {
        switch (view.getId()) {
            case R.id.data_click:
                startActivity(new Intent(this, ModelListActivity.class));
                break;
            case R.id.m_click:
                startActivity(new Intent(this, AddMethodActivity.class));
                break;
            case R.id.msg_click:
                startActivity(new Intent(this, TableListActivity.class));
                break;
        }
    }
}
